<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%String path = request.getContextPath();%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>来款手动核销 管理</title>
    <style type="text/css">
    </style>
    <jsp:include page="../../import.jsp" flush="true"/>
</head>

<body class="iframeBody">
<div class="Wrapper">
    <div>
        <div id="pageInTab" class="pageInTab">
            <div tabid="tdApplyTab" title="申请表" lselected="true">
                <iframe frameborder="0" id="tdApply" name="tdApply" src="<%=path%>/riskctrl/tdApply/toListPage.do"></iframe>
            </div>
            <div tabid="tddcsnApplyTab" title="决策引擎申请">
                <iframe frameborder="0" id="tddcsnApply" name="tddcsnApply" src=""></iframe>
            </div>
            <div tabid="tddcsnApplyLTab" title="决策引擎申请日志表">
                <iframe frameborder="0" id="tddcsnApplyL" name="tddcsnApplyL" src=""></iframe>
            </div>
            <div tabid="tddcsnReportTab" title="决策引擎报告表">
                <iframe frameborder="0" id="tddcsnReport" name="tddcsnReport" src=""></iframe>
            </div>
            <div tabid="tdHitRulesTab" title="命中规则信息">
                <iframe frameborder="0" id="tdHitRules" name="tdHitRules" src=""></iframe>
            </div>
            <div tabid="tdmpApplyTab" title="手机三要素申请表">
                <iframe frameborder="0" id="tdmpApply" name="tdmpApply" src=""></iframe>
            </div>
            <div tabid="tdmpApplyLTab" title="手机三要素核查申请日志表">
                <iframe frameborder="0" id="tdmpApplyL" name="tdmpApplyL" src=""></iframe>
            </div>
            <div tabid="tdmpReportTab" title="手机三要素(分数)报告表">
                <iframe frameborder="0" id="tdmpReport" name="tdmpReport" src=""></iframe>
            </div>
            <div tabid="tdPolicyTab" title="策略集合信息">
                <iframe frameborder="0" id="tdPolicy" name="tdPolicy" src=""></iframe>
            </div>
            <div tabid="tdPolicyHitRulesTab" title="策略集命中规则">
                <iframe frameborder="0" id="tdPolicyHitRules" name="tdPolicyHitRules" src=""></iframe>
            </div>
            
        </div>
    </div>
</div>

<script type="text/javascript">
    var pageInTab = null;
    var pageInApp = {};
    var loadedTabs=[];
    $(function () {
        pageInTab = $("#pageInTab").ligerTab({
            height: 'auto',
            contextmenu: false,
            minIframeHeight: GET_minIframeHeight(),
            onAfterSelectTabItem: function (tabid) {
                if (loadedTabs.indexOf(tabid) < 0) {
                    loadedTabs.push(tabid);
                    if (tabid != "tdApplyTab") {
                        switch (tabid) {
                            case "tddcsnApplyTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tddcsnApply/toListPage.do");
                                break;
                            case "tddcsnApplyLTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tddcsnApplyL/toListPage.do");
                                break;
                            case "tddcsnReportTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tddcsnReport/toListPage.do");
                                break;
                            case "tdHitRulesTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tdHitRules/toListPage.do");
                                break;
                            case "tdmpApplyTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tdmpApply/toListPage.do");
                                break;
                            case "tdmpApplyLTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tdmpApplyL/toListPage.do");
                                break;
                            case "tdmpReportTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tdmpReport/toListPage.do");
                                break;
                            case "tdPolicyTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tdPolicy/toListPage.do");
                                break;
                            case "tdPolicyHitRulesTab":
                                pageInTab.setTabItemSrc(tabid, "<%=path%>/riskctrl/tdPolicyHitRules/toListPage.do");
                                break;
                        }
                    }
                }
                SetIframe_height();
            }
        });
        pageInTab.setTabButton(); //设置左右两侧箭头
        pageInTab.moveToPrevTabItem(pageInTab.getSelectedTabItemID()); //移动(激活)到选中的标签
        $.extend(true, pageInApp, {
            pageInTab: pageInTab
        });
    });
</script>

</body>
</html>
